<!DOCTYPE html>
<html lang="en">
<head>
	<{include file="header.html"}>
	<title>题库-德安信会计在线教育平台</title>
	<style>
		.sub_box{width: 100%; padding:20px 0; border-bottom: 1px dashed #eee;}
		.sub_title{width:200px; height: 150px; line-height: 150px; text-align: center;float:left;}
		.sub_info{float:left; width: 600px; margin-left: 40px; color: #000;}
		.sub_info p{padding:10px 0;}
	</style>
</head>
<body>
<div class="wrap">
	<!--star left-->
	<div class="column">
		<{include file="../user/left_menu.html"}>
	</div>
	<div id="ContMianBox">
		<!--star子栏目-->
		<div class="sub-colum">
		    <div class="tit">实训</div>
		    <ul>
		    	<li class="curr"><a href="/user/tiku/tlist">我的实训</a></li>
		    </ul>
		</div>
		<!--end子栏目-->
		<!--end left-->
		<div class="container narrow">
		    <!--star conter-->
		    <div class="cetContent">
				<div class="tit p-lr20">
				    <span class="curr">我的实训</span>
				</div>
				<!--star内容区域-->
				<div class="mainScroll">
				    <div class="mainContainer line-all">
				        <!--star tabMainCont-->
				        <div class="tabMainCont">
				            <!--star会员管理-->
		                	<div class="fix">
								<{foreach from=$shixun_list item=item key=key name=foo}>
								<div class="sub_box">
									<div class="fs22 c-FFFFFF sub_title" style="background-image:url(http://admin.520dax.com<{$item.titleImage}>">
										<a style="color:#FFF;" href="http://shicao.520dax.com/Default.aspx?zhangtaoID=<{$item.Id}>"><{$item.ztName}></a>
									</div>
									<div class="fs22 c-FFFFFF sub_info">
										<p style="font-size: 20px; font-weight: bold;"><{$item.ztName}></p>
										<p>
										剩余有效期：
										<{if !empty($item.effective_day) AND $item.effective_day > 0}>
										<{$item.effective_day|ceil}>天
										<{else}>
											<{if $item.order_status <= 0}>
											已过期
											<{else}>
											-
											<{/if}>
										<{/if}></p>
										</p>
									</div>
									<div style="float:left;">
										<div class="layui-input-block">
											<{if $item.order_status == 1}>
											已付款，请致电 <{$school_info.link_tel}> 开通 
											<{else}>
												<a class="layui-btn" href="http://shicao.520dax.com/Default.aspx?zhangtaoID=<{$item.Id}>">进入实训</a>
												<{if $item.effective_day <= 0}>
												<a class="layui-btn" href="/order/buy/<{$item.Id}>/5">重新购买</a>
												<{elseif $item.effective_day <= 1}>
												<a class="layui-btn" href="/order/buy/<{$item.Id}>/5">续期</a>
												<{/if}>
											<{/if}>
										</div>
									</div>
									<div style="clear: both;"></div>
								</div>
								<{/foreach}>
							</div>
			                <div class="pages p-tb20" style="text-align:right;">
			                    <!-- <{$pagination}> -->
			                </div>
			            </div>
			            <!--star会员管理-->
			        </div>
				        <!--end tabMainCont-->
		        </div>
		    </div>
		</div>
	</div>
</div>
</body>
</html>